package com.example.graduate.mapper;

import com.example.graduate.Bean.Card;
import com.example.graduate.Bean.CardsCollect;
import com.example.graduate.Bean.Client;

import java.util.List;

public interface ClientMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Client record);

    int insertSelective(Client record);

    Client selectByPrimaryKey(Integer id);

    Client selectByOpenId(String openId);

    int updateByPrimaryKeySelective(Client record);

    int updateByPrimaryKey(Client record);

    CardsCollect getCollectiveById(String id);


    List<Client> selectAll();


}